package es.ats.codington.festival.interfaces.daos;

import java.sql.SQLException;

import es.ats.codington.festival.domain.Event;
import es.ats.codington.festival.domain.Place;
import es.ats.codington.festival.domain.Visitor;



/**
 * The Interface iEventSignUpDAO.
 */
public interface iEventSignUpDAO {
	
	/**
	 * Sign up to event.
	 *
	 * @param iDvisitor the i dvisitor
	 * @param iDevent the i devent
	 * @return true, if successful
	 * @throws Exception the exception
	 */
	public boolean signUpToEvent (int iDvisitor, int iDevent) throws  Exception;
	
	/**
	 * Unsign up to event.
	 *
	 * @param iDvisitor the i dvisitor
	 * @param iDevent the i devent
	 * @return true, if successful
	 * @throws Exception the exception
	 */
	public boolean unsignUpToEvent(int iDvisitor, int iDevent) throws Exception;


	

}
